xen.git
20 years agoOh gcc4 ....how you complain soo. This patch fixes compile with gcc4
kaf24@firebug.cl.cam.ac.uk [Wed, 6 Jul 2005 08:46:38 +0000 (08:46 +0000)]
Oh gcc4 ....how you complain soo. This patch fixes compile with gcc4
where an unintialized variable is used in a function.

Signed-off-by: Jerone Young <jerone@gmail.com>
20 years agoHere are two patches which update the hypercall interfaces to
kaf24@firebug.cl.cam.ac.uk [Tue, 5 Jul 2005 16:08:03 +0000 (16:08 +0000)]
Here are two patches which update the hypercall interfaces to
use 64-bit values for both page table entries and physical
addresses.  These changes are needed to use more than 4GB with
PAE paging enabled.

The first patch is a pretty straightforward update for xen, it
simply makes the values 64-bit wide everythere.

The second patch adapts the linux kernel to the hypercall
interface changes.  It also introduces two MULTI_* functions
(for the update_va_mapping hypercalls) which have simliar
behavior like the HYPERVISOR_* counterparts but fill
multicall_entry_t instead of doing the call directly.

The tools don't need source code changes, but must be rebuilt
due to the change in the xen public header file.

Domain0 boots fine, unpriviliged domain boots fine with fully
functional networking.  Note this is non-PAE mode, tools don't
have support for PAE domU boots yet.

Signed-off-by: Gerd Knorr <kraxel@suse.de>
20 years agoCleanup whitespace.
cl349@firebug.cl.cam.ac.uk [Tue, 5 Jul 2005 09:01:37 +0000 (09:01 +0000)]
Cleanup whitespace.

20 years agoNo changes from me.
cl349@firebug.cl.cam.ac.uk [Tue, 5 Jul 2005 08:47:55 +0000 (08:47 +0000)]
No changes from me.

20 years agoRemove confusion about terminating nul character.
cl349@firebug.cl.cam.ac.uk [Tue, 5 Jul 2005 08:46:46 +0000 (08:46 +0000)]
Remove confusion about terminating nul character.

20 years agoUndo "Add -fPIC tools/xenstore/Makefile".
cl349@firebug.cl.cam.ac.uk [Tue, 5 Jul 2005 08:44:29 +0000 (08:44 +0000)]
Undo "Add -fPIC tools/xenstore/Makefile".

20 years agoRename fields in physinfo_t structure and add sockets/nodes
kaf24@firebug.cl.cam.ac.uk [Mon, 4 Jul 2005 16:02:46 +0000 (16:02 +0000)]
Rename fields in physinfo_t structure and add sockets/nodes
fields.

20 years agoManual merge.
kaf24@firebug.cl.cam.ac.uk [Mon, 4 Jul 2005 15:41:21 +0000 (15:41 +0000)]
Manual merge.

20 years agomerge
akw27@arcadians.cl.cam.ac.uk [Mon, 4 Jul 2005 15:35:35 +0000 (15:35 +0000)]
merge
Signed-off-by: andrew.warfield@cl.cam.ac.uk
20 years agoFix grant-table interface by removing the unnecessary union.
kaf24@firebug.cl.cam.ac.uk [Mon, 4 Jul 2005 15:34:57 +0000 (15:34 +0000)]
Fix grant-table interface by removing the unnecessary union.
This fixes a domU crash introduced over the weekend.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoAdd hook in get_user_pages to allow lookups of foreign mapped pages.
akw27@arcadians.cl.cam.ac.uk [Mon, 4 Jul 2005 15:31:47 +0000 (15:31 +0000)]
Add hook in get_user_pages to allow lookups of foreign mapped pages.

Direct IO to userspace (e.g. with libaio) needs to map user virtual addresses
down to page structs.  This patch adds a new vma flag (VM_FOREIGN) to tell
get_user_pages that there are foreign frames in the vma.  If VM_FOREIGN is set
vm_private_data points to a map of struct page pointers, indicating the
physical page underpinning the vaddr.

After a fair bit of discussion with Keir, this seems to be the least
intrusive way to allow this sort of lookup.  If this solves things, we
can pull the VM_FOREIGN clause out into make it a noop on non-Xen
arches in the same way that the gate_area check above it is.

20 years agoExample of assymetric pull/push paths.
gmilos@localhost.localdomain [Mon, 4 Jul 2005 15:01:22 +0000 (15:01 +0000)]
Example of assymetric pull/push paths.

20 years agoExtended explanation of 'hg diff'.
gmilos@localhost.localdomain [Mon, 4 Jul 2005 14:47:28 +0000 (14:47 +0000)]
Extended explanation of 'hg diff'.

20 years agoTo avoid MSR save/restore at every VM exit/entry time, we restore the
kaf24@firebug.cl.cam.ac.uk [Mon, 4 Jul 2005 08:21:35 +0000 (08:21 +0000)]
To avoid MSR save/restore at every VM exit/entry time, we restore the
x86_64 specific MSRs at domain switch time if modified. In VMX domains,
we modify those upon requests from the guests to that end. Note that
IA32_EFER.LME and IA32_EFER.LMA are saved/restored by H/W on every VM
exit. For the usual domains (i.e. dom0 and domU), those MSRs are not
modified once set at initialization time, so we don't save them when
swiched out, but simply reset them (if modified) to the initial values
when switched in. This patch also include extended handling for 64-bit
guests. Please apply.

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agoThe patch extends the VMCS handling to support both 32-bit and 64-bit
kaf24@firebug.cl.cam.ac.uk [Mon, 4 Jul 2005 08:20:20 +0000 (08:20 +0000)]
The patch extends the VMCS handling to support both 32-bit and 64-bit
guests. Please apply. It also includes cleanups.

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
20 years agoRecent header file cleanup (cset 2b6c1a8098078f7e53de7cf72227fddf01f0b2b6)
kaf24@firebug.cl.cam.ac.uk [Mon, 4 Jul 2005 08:18:42 +0000 (08:18 +0000)]
Recent header file cleanup (cset 2b6c1a8098078f7e53de7cf72227fddf01f0b2b6)
broke x86_64.  The cleanup removed a padding field in trap_info_t, so the
trap table set the address for each trap handler to zero.

Signed-off-by: Chris Wright <chrisw@osdl.org>
20 years agoManual merge.
kaf24@firebug.cl.cam.ac.uk [Sun, 3 Jul 2005 22:36:48 +0000 (22:36 +0000)]
Manual merge.

20 years agoRemove Jan Beulich's install.sh patch. It was failing for
kaf24@firebug.cl.cam.ac.uk [Sun, 3 Jul 2005 22:32:52 +0000 (22:32 +0000)]
Remove Jan Beulich's install.sh patch. It was failing for
some users.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoManual merge -- hg not so good at deleting right now.
akw27@arcadians.cl.cam.ac.uk [Sun, 3 Jul 2005 18:49:55 +0000 (18:49 +0000)]
Manual merge -- hg not so good at deleting right now.
Signed-off-by: akw27@cam.ac.uk
20 years agoInstall qemu-dm.debug script.
kaf24@firebug.cl.cam.ac.uk [Sun, 3 Jul 2005 15:09:20 +0000 (15:09 +0000)]
Install qemu-dm.debug script.

20 years agoClean-up of blktap and parallax user space code.
akw27@arcadians.cl.cam.ac.uk [Sun, 3 Jul 2005 14:14:09 +0000 (14:14 +0000)]
Clean-up of blktap and parallax user space code.
Move parallax stuff to its own sub directory and tidy Makefiles a bit.
Signed-off-by: andrew.warfield@cl.cam.ac.uk
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
--HG--
rename : tools/blktap/README-PARALLAX => tools/blktap/parallax/README
rename : tools/blktap/block-async.c => tools/blktap/parallax/block-async.c
rename : tools/blktap/block-async.h => tools/blktap/parallax/block-async.h
rename : tools/blktap/blockstore.c => tools/blktap/parallax/blockstore.c
rename : tools/blktap/blockstore.h => tools/blktap/parallax/blockstore.h
rename : tools/blktap/blockstored.c => tools/blktap/parallax/blockstored.c
rename : tools/blktap/bstest.c => tools/blktap/parallax/bstest.c
rename : tools/blktap/parallax.c => tools/blktap/parallax/parallax.c
rename : tools/blktap/radix.c => tools/blktap/parallax/radix.c
rename : tools/blktap/radix.h => tools/blktap/parallax/radix.h
rename : tools/blktap/requests-async.c => tools/blktap/parallax/requests-async.c
rename : tools/blktap/requests-async.h => tools/blktap/parallax/requests-async.h
rename : tools/blktap/snaplog.c => tools/blktap/parallax/snaplog.c
rename : tools/blktap/snaplog.h => tools/blktap/parallax/snaplog.h
rename : tools/blktap/vdi.c => tools/blktap/parallax/vdi.c
rename : tools/blktap/vdi.h => tools/blktap/parallax/vdi.h
rename : tools/blktap/vdi_create.c => tools/blktap/parallax/vdi_create.c
rename : tools/blktap/vdi_fill.c => tools/blktap/parallax/vdi_fill.c
rename : tools/blktap/vdi_list.c => tools/blktap/parallax/vdi_list.c
rename : tools/blktap/vdi_snap.c => tools/blktap/parallax/vdi_snap.c
rename : tools/blktap/vdi_snap_delete.c => tools/blktap/parallax/vdi_snap_delete.c
rename : tools/blktap/vdi_snap_list.c => tools/blktap/parallax/vdi_snap_list.c
rename : tools/blktap/vdi_tree.c => tools/blktap/parallax/vdi_tree.c
rename : tools/blktap/vdi_unittest.c => tools/blktap/parallax/vdi_unittest.c
rename : tools/blktap/vdi_validate.c => tools/blktap/parallax/vdi_validate.c

20 years agoReplace implicit 16-byte arg to xen_extraversion with an
kaf24@firebug.cl.cam.ac.uk [Sun, 3 Jul 2005 12:39:03 +0000 (12:39 +0000)]
Replace implicit 16-byte arg to xen_extraversion with an
explicit typedef.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
20 years agoFix some newline ugliness that BK wouldn't correct.
akw27@arcadians.cl.cam.ac.uk [Sun, 3 Jul 2005 12:02:01 +0000 (12:02 +0000)]
Fix some newline ugliness that BK wouldn't correct.
Signed-off-by: akw27@cl.cam.ac.uk
20 years agoAvoid repeated #define's in public headers.
kaf24@firebug.cl.cam.ac.uk [Sat, 2 Jul 2005 22:37:55 +0000 (22:37 +0000)]
Avoid repeated #define's in public headers.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoRemove non-ISO attributes from public headers.
kaf24@firebug.cl.cam.ac.uk [Sat, 2 Jul 2005 08:41:48 +0000 (08:41 +0000)]
Remove non-ISO attributes from public headers.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoRegister the portio handler only once.
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 21:25:45 +0000 (21:25 +0000)]
Register the portio handler only once.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agoRefactor guest exception injection code.
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 21:25:19 +0000 (21:25 +0000)]
Refactor guest exception injection code.

- Exceptions get reflected to the guest by default, instead of crashing
  the domain.
- Reduce code duplication and improve maintainability.

Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agoImprove the IDE HD geometry auto detection algorithm.
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 21:24:09 +0000 (21:24 +0000)]
Improve the IDE HD geometry auto detection algorithm.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Asit K Mallick <asit.k.mallick@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agoGet rid of references to qemu-dm.debug.
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 17:26:37 +0000 (17:26 +0000)]
Get rid of references to qemu-dm.debug.

20 years agoAnother issue found with building the guest outside the source tree.
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 16:07:53 +0000 (16:07 +0000)]
Another issue found with building the guest outside the source tree.
Signed-off-by: Jan Beulich <JBeulich@novell.com>
20 years agoI found several build issues, mostly related to building outside of the
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 15:49:43 +0000 (15:49 +0000)]
I found several build issues, mostly related to building outside of the
source tree. Below/attached adjustments for these.
Signed-off-by: Jan Beulich <JBeulich@novell.com>
20 years agoOther than the native kernels, the xen guests install without attempting
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 15:48:47 +0000 (15:48 +0000)]
Other than the native kernels, the xen guests install without attempting
to use distribution provided mechanisms, thus e.g. preventing the
auto-generation of an initrd. Below/attached a suggestion to adjust that.
Signed-off-by: Jan Beulich <JBeulich@novell.com>
20 years agoOther than native x86-64 code, the XEN guest *does* use 4k mappings for
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 15:47:46 +0000 (15:47 +0000)]
Other than native x86-64 code, the XEN guest *does* use 4k mappings for
the contiguous kernel mapping of (physical) memory. Thus the code in
change_page_attr needs to work like on i386 (where large pages are used
only conditionally) rather than like native x86-64. Patch below/attached.
Not doing so triggered the BUG_ON during load of intel-agp on machines
with i915 chipset.
Signed-off-by: Jan Beulich <JBeulich@novell.com>
20 years agoSome exports were misssing/mis-qualified. Adjustment below/attached.
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 15:46:41 +0000 (15:46 +0000)]
Some exports were misssing/mis-qualified. Adjustment below/attached.
Signed-off-by: Jan Beulich <JBeulich@novell.com>
20 years agoOther than native i386 code, the page fault handler in the guest for
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 15:45:39 +0000 (15:45 +0000)]
Other than native i386 code, the page fault handler in the guest for
whatever reason ran a stack_trace even though another one is run from
die(). Since screen space is limited, duplicating (perhaps long) stack
traces seems quite wasteful. Patch removing this duplication below/attached.
Signed-off-by: Jan Beulich <JBeulich@novell.com>
20 years agoThis patch fixes few typos in hg-cheatsheet.txt
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 15:43:44 +0000 (15:43 +0000)]
This patch fixes few typos in hg-cheatsheet.txt
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
20 years agoManual merge.
cl349@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 14:32:22 +0000 (14:32 +0000)]
Manual merge.

20 years agoRewrite xenbus_path and cleanup whitespace.
cl349@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 14:31:22 +0000 (14:31 +0000)]
Rewrite xenbus_path and cleanup whitespace.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix Xen 'make install' not to rebuild console.o if called
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 14:30:46 +0000 (14:30 +0000)]
Fix Xen 'make install' not to rebuild console.o if called
from sudo environemnt, for example.

20 years agoManual merge.
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 13:35:03 +0000 (13:35 +0000)]
Manual merge.

20 years agoRemove incorrect check for terminating nul character.
cl349@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 13:30:45 +0000 (13:30 +0000)]
Remove incorrect check for terminating nul character.
The terminating nul character is not stored in the store but
added by read_reply.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years ago.
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 13:17:53 +0000 (13:17 +0000)]
.

20 years agoRemove BitKeeper files from the repository.
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 12:48:40 +0000 (12:48 +0000)]
Remove BitKeeper files from the repository.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoManual merge
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 12:45:24 +0000 (12:45 +0000)]
Manual merge

20 years agoRemoved "bk root" call from fbsdxensetup script
jrb44@plym.cl.cam.ac.uk [Fri, 1 Jul 2005 12:35:58 +0000 (12:35 +0000)]
Removed "bk root" call from fbsdxensetup script

The script assumes the current directory to be the top of the xen tree.
It makes a rudimentary check to this effect.

Signed-off-by: James Bulpin <james@xensource.com>
20 years agomkelf32 explicit-size types are based on defs in inttypes.h.
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 12:30:19 +0000 (12:30 +0000)]
mkelf32 explicit-size types are based on defs in inttypes.h.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agomanual merge
iap10@freefall.cl.cam.ac.uk [Fri, 1 Jul 2005 10:55:46 +0000 (10:55 +0000)]
manual merge

20 years agoFix to xen-clone, minor top-level Makefile tidy
iap10@freefall.cl.cam.ac.uk [Fri, 1 Jul 2005 10:52:07 +0000 (10:52 +0000)]
Fix to xen-clone, minor top-level Makefile tidy
Signed-off-by: ian.pratt@cl.cam.ac.uk
20 years agoDevice model path cleanup. Remove bochsrc which is no longer needed.
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 10:34:47 +0000 (10:34 +0000)]
Device model path cleanup. Remove bochsrc which is no longer needed.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agomanual merge
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 10:28:14 +0000 (10:28 +0000)]
manual merge

20 years agoAdd the Mercurial for Xen cheatsheet into the repo.
iap10@freefall.cl.cam.ac.uk [Fri, 1 Jul 2005 10:21:30 +0000 (10:21 +0000)]
Add the Mercurial for Xen cheatsheet into the repo.
Signed-off-by: ian@xensource.com
20 years agouse hg changeset info for xen banner
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Jul 2005 10:15:25 +0000 (10:15 +0000)]
use hg changeset info for xen banner
Signed-off-by: Chris Wright <chrisw@osdl.org>
20 years agoFormally remove support for linux 2.4 dom0. domU should still work.
iap10@freefall.cl.cam.ac.uk [Fri, 1 Jul 2005 03:16:53 +0000 (03:16 +0000)]
Formally remove support for linux 2.4 dom0. domU should still work.
Signed-off-by: ian@xensource.com
20 years agoUpdate xen-clone script for hg. Still missing revision selection functionality.
iap10@freefall.cl.cam.ac.uk [Fri, 1 Jul 2005 02:12:36 +0000 (02:12 +0000)]
Update xen-clone script for hg. Still missing revision selection functionality.
Signed-off-by: ian@xensource.com
20 years agoAdd a .hgignore file to the repository. NB: hg takes regexps not wildcards
iap10@freefall.cl.cam.ac.uk [Fri, 1 Jul 2005 01:28:45 +0000 (01:28 +0000)]
Add a .hgignore file to the repository. NB: hg takes regexps not wildcards
Signed-off-by: ian@xensource.com
20 years agobitkeeper revision 1.1782 (42c3a8e76Lioy1FVEJFTaTkbYVBy7Q)
arun.sharma@intel.com[kaf24] [Thu, 30 Jun 2005 08:10:15 +0000 (08:10 +0000)]
bitkeeper revision 1.1782 (42c3a8e76Lioy1FVEJFTaTkbYVBy7Q)

[PATCH] Use copy_from_user when accessing guest_pt[]

Use copy_from_user when accessing guest_pt[]

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agobitkeeper revision 1.1781 (42c3a8d63EmXV0wA3jHItrRQ0fKLsg)
arun.sharma@intel.com[kaf24] [Thu, 30 Jun 2005 08:09:58 +0000 (08:09 +0000)]
bitkeeper revision 1.1781 (42c3a8d63EmXV0wA3jHItrRQ0fKLsg)

[PATCH] Support VMX guests with 512M/1G memory.

Support VMX guests with 512M/1G memory.

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
diff -r f6e5bd774f51 -r 13e02f197018 tools/ioemu/configure

20 years agobitkeeper revision 1.1780 (42c3a8c4tqEOpGy663gWO35k5QwZTw)
arun.sharma@intel.com[kaf24] [Thu, 30 Jun 2005 08:09:40 +0000 (08:09 +0000)]
bitkeeper revision 1.1780 (42c3a8c4tqEOpGy663gWO35k5QwZTw)

[PATCH] Infrastructure for interrupt handling.

Infrastructure for interrupt handling.

- support interruptibility
- handle interrupt window exiting control appropriately
- Add ioapic device models imported from Bochs under LGPL
- generalize the interrupt architecture to support both PIC/APIC

This patch is necessary to fix several bugs on 32 bit VMX and prepares the
ground for adding a local APIC device model in the hypervisor.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agobitkeeper revision 1.1779 (42c3a8b3kGpPBNwXb3dn_b8FcmVPgQ)
arun.sharma@intel.com[kaf24] [Thu, 30 Jun 2005 08:09:23 +0000 (08:09 +0000)]
bitkeeper revision 1.1779 (42c3a8b3kGpPBNwXb3dn_b8FcmVPgQ)

[PATCH] ACPI support for guest firmware.

ACPI support for guest firmware.

Signed-off-by: Ke Yu <ke.yu@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agobitkeeper revision 1.1778 (42c3a89fKOC3ZLo9T-f0b9tyflqDzg)
arun.sharma@intel.com[kaf24] [Thu, 30 Jun 2005 08:09:03 +0000 (08:09 +0000)]
bitkeeper revision 1.1778 (42c3a89fKOC3ZLo9T-f0b9tyflqDzg)

[PATCH] Enable vmxassist for 64 bit.

Enable vmxassist for 64 bit.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agobitkeeper revision 1.1777 (42c3a88aPiHvcATujFTezqA1w1FMCg)
arun.sharma@intel.com[kaf24] [Thu, 30 Jun 2005 08:08:42 +0000 (08:08 +0000)]
bitkeeper revision 1.1777 (42c3a88aPiHvcATujFTezqA1w1FMCg)

[PATCH] 64 bit xend cleanups.

64 bit xend cleanups.

Signed-off-by: Xin Li <xin.bi.li@intel.com>
Signed-off-by: Xiofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agobitkeeper revision 1.1776 (42c3a877bezcV9uHoSXuU-GWoyVOKw)
arun.sharma@intel.com[kaf24] [Thu, 30 Jun 2005 08:08:23 +0000 (08:08 +0000)]
bitkeeper revision 1.1776 (42c3a877bezcV9uHoSXuU-GWoyVOKw)

[PATCH] Enable qcow in the device models.

Enable qcow in the device models.

This saves disk space when dealing with large guest images.

Signed-off-by: Nitin Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
diff -r 5d58883fc7b8 -r 499ac8e8df00 tools/ioemu/block.c

20 years agobitkeeper revision 1.1775 (42c3a866BfZr3l3NiVNwr6Z_1Uin_A)
arun.sharma@intel.com[kaf24] [Thu, 30 Jun 2005 08:08:06 +0000 (08:08 +0000)]
bitkeeper revision 1.1775 (42c3a866BfZr3l3NiVNwr6Z_1Uin_A)

[PATCH] Fix PCI BIOS double initialization.

Fix PCI BIOS double initialization.

Because the qemu device models are already doing the PCI BIOS initialization,
don't do it in rombios. With this change, the PCI network card becomes
functional.

Signed-off-by: Winston Wang <winston.l.wang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
diff -r e71f644f492e -r 5d58883fc7b8 tools/firmware/rombios/rombios.c

20 years agobitkeeper revision 1.1774 (42c3a855yAuKBfmJfftjhiVDml26pg)
arun.sharma@intel.com[kaf24] [Thu, 30 Jun 2005 08:07:49 +0000 (08:07 +0000)]
bitkeeper revision 1.1774 (42c3a855yAuKBfmJfftjhiVDml26pg)

[PATCH] Extend the VMX intercept mechanism to include mmio as well as portio.

Extend the VMX intercept mechanism to include mmio as well as portio.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agobitkeeper revision 1.1773 (42c3a841nLib9kdSmthr05jouqiNeg)
arun.sharma@intel.com[kaf24] [Thu, 30 Jun 2005 08:07:29 +0000 (08:07 +0000)]
bitkeeper revision 1.1773 (42c3a841nLib9kdSmthr05jouqiNeg)

[PATCH] Device model cleanup.

Device model cleanup.

- Single config file for xen and device models
  (Shell script doesn't source xmdefconfig anymore)
- No more device-model shell script by default. You can
  have one if needed (qemu-dm.debug)
- All logic in the script device-model is moved to python
- $DISPLAY is passed from xm to xend
- Don't fork vncviewer on dryruns
- Add support for killing device models on domain destroy
- info vmxiopage command added to the monitor
- Refactor shared io page into global and per vcpu state
- Remove the hard coding of IOPACKET_PORT
- move the virtual_platform_def up to domain struct from vcpu
- xm create -n:

(vm
    (name ExampleVMXDomain)
    (memory 128)
    (ssidref -1)
    (image
        (vmx
            (kernel /usr/lib/xen/boot/vmxloader)
            (root '/dev/hda1 ro')
            (vcpus 1)
        )
    )
    (memmap )
    (device_model /tmp/foo)
    (hda /var/images/min-el3-i386.img)
    (hdb )
    (hdc )
    (hdd )
    (cdrom )
    (boot c)
    (fda )
    (fdb )
    (localtime 0)
    (serial )
    (macaddr )
    (stdvga 0)
    (isa 0)
    (nographic 0)
    (vnc 0)
    (sdl 0)
    (display localhost:10.0)
)

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agobitkeeper revision 1.1772 (42c31843CEATPivypr5LYbRYU08TtQ)
kaf24@firebug.cl.cam.ac.uk [Wed, 29 Jun 2005 21:53:07 +0000 (21:53 +0000)]
bitkeeper revision 1.1772 (42c31843CEATPivypr5LYbRYU08TtQ)

added tag ia64-stable

20 years agobitkeeper revision 1.1772 (42c31571ulukoJpvEOsK4akggVt37Q)
djm@sportsman.spdomain [Wed, 29 Jun 2005 21:41:05 +0000 (21:41 +0000)]
bitkeeper revision 1.1772 (42c31571ulukoJpvEOsK4akggVt37Q)

null change

20 years agobitkeeper revision 1.1771 (42c314a41N8GOY476cnW9IejbgNDJw)
xen-ia64.adm@bkbits.net [Wed, 29 Jun 2005 21:37:40 +0000 (21:37 +0000)]
bitkeeper revision 1.1771 (42c314a41N8GOY476cnW9IejbgNDJw)

Merge bk://xen.bkbits.net/xeno-unstable.bk
into  bkbits.net:/repos/x/xen-ia64/xeno-unstable-ia64.bk

20 years agobitkeeper revision 1.1770 (42c2d66cG6YTU0WhG1b97E-InSNWWA)
kaf24@firebug.cl.cam.ac.uk [Wed, 29 Jun 2005 17:12:12 +0000 (17:12 +0000)]
bitkeeper revision 1.1770 (42c2d66cG6YTU0WhG1b97E-InSNWWA)

Ensure global variables required by get_s_time() are initialised before
first use. Rejuggle bootstrap code slightly.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agobitkeeper revision 1.1769 (42c2cac1Ua7yeT9FnpvjJNvdSrd3BA)
kaf24@firebug.cl.cam.ac.uk [Wed, 29 Jun 2005 16:22:25 +0000 (16:22 +0000)]
bitkeeper revision 1.1769 (42c2cac1Ua7yeT9FnpvjJNvdSrd3BA)

Remove ticks_per_usec global variable. cpu_khz suffices.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agobitkeeper revision 1.1726.1.8 (42c1acafTSObuXeDW7_GDxYN5dosRA)
djm@kirby.fc.hp.com [Tue, 28 Jun 2005 20:01:51 +0000 (20:01 +0000)]
bitkeeper revision 1.1726.1.8 (42c1acafTSObuXeDW7_GDxYN5dosRA)

Grant table support changes and fix cmpxchg_user
Signed-off-by: Matt Chapman <matthewc@hp.com>
20 years agobitkeeper revision 1.1726.1.7 (42c194ee68Qy_Egi118UCoJdFnkGPQ)
djm@kirby.fc.hp.com [Tue, 28 Jun 2005 18:20:30 +0000 (18:20 +0000)]
bitkeeper revision 1.1726.1.7 (42c194ee68Qy_Egi118UCoJdFnkGPQ)

Add bank switch for hyper_rfi hyperprivop
Signed-off-by: Dan Magenheimer <dan.magenheimer@hp.com>
20 years agobitkeeper revision 1.1768 (42c18d2259NPELcGV7ohyZNh72ufSw)
kaf24@firebug.cl.cam.ac.uk [Tue, 28 Jun 2005 17:47:14 +0000 (17:47 +0000)]
bitkeeper revision 1.1768 (42c18d2259NPELcGV7ohyZNh72ufSw)

Based on the Keir's suggestion yesterday, I fixed the bug in xenlinux.
Now the LTP test cases pass well in domU; I ran LTP in domU along with
an infinite loop of "make clean; make -j4" on dom0 for sanity tests.

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
20 years agobitkeeper revision 1.1767 (42c18c1dNRHfk7ZFajLHHtesQcrKlg)
kaf24@firebug.cl.cam.ac.uk [Tue, 28 Jun 2005 17:42:53 +0000 (17:42 +0000)]
bitkeeper revision 1.1767 (42c18c1dNRHfk7ZFajLHHtesQcrKlg)

At the time of debugging the fs segment problem, I noticed this bug (and
was able to test it).

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
20 years agobitkeeper revision 1.1766 (42c17071SPDLo7qPlXAiQzrKjMu6Mw)
cl349@firebug.cl.cam.ac.uk [Tue, 28 Jun 2005 15:44:49 +0000 (15:44 +0000)]
bitkeeper revision 1.1766 (42c17071SPDLo7qPlXAiQzrKjMu6Mw)

Add xenbus driver.
XendDomainInfo.py:
  Connect/Disconnect domains to/from store.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au> (authored)
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agobitkeeper revision 1.1765 (42c16e51XwZ3-cKPHI29xhO2Hzk_sQ)
cl349@firebug.cl.cam.ac.uk [Tue, 28 Jun 2005 15:35:45 +0000 (15:35 +0000)]
bitkeeper revision 1.1765 (42c16e51XwZ3-cKPHI29xhO2Hzk_sQ)

Increase size of xen_start_info_union since start_info structure
size is > 512 bytes.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agobitkeeper revision 1.1764 (42c12471iroiktRDv2QDqEDoIQVDNg)
ach61@arcadians.cl.cam.ac.uk [Tue, 28 Jun 2005 10:20:33 +0000 (10:20 +0000)]
bitkeeper revision 1.1764 (42c12471iroiktRDv2QDqEDoIQVDNg)

comments

20 years agobitkeeper revision 1.1763 (42c11c79p9Z_K0YwZk_N5zJU0rjzDg)
ach61@arcadians.cl.cam.ac.uk [Tue, 28 Jun 2005 09:46:33 +0000 (09:46 +0000)]
bitkeeper revision 1.1763 (42c11c79p9Z_K0YwZk_N5zJU0rjzDg)

Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into arcadians.cl.cam.ac.uk:/auto/anfs/nos1/ach61/bk

20 years agobitkeeper revision 1.1760.1.6 (42c10677TIdwirEem_EpnMFWS1MTtw)
kaf24@firebug.cl.cam.ac.uk [Tue, 28 Jun 2005 08:12:39 +0000 (08:12 +0000)]
bitkeeper revision 1.1760.1.6 (42c10677TIdwirEem_EpnMFWS1MTtw)

Fix build on gcc <= 3.2.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agobitkeeper revision 1.1760.1.5 (42c105a0IGE_9KbvmOfox8TMahmQVw)
kaf24@firebug.cl.cam.ac.uk [Tue, 28 Jun 2005 08:09:04 +0000 (08:09 +0000)]
bitkeeper revision 1.1760.1.5 (42c105a0IGE_9KbvmOfox8TMahmQVw)

Only enable PGE in CR4 if the CPU supports the feature.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agobitkeeper revision 1.1760.1.4 (42c10578DlONZUYkjuzFvNR6idseEQ)
kaf24@firebug.cl.cam.ac.uk [Tue, 28 Jun 2005 08:08:24 +0000 (08:08 +0000)]
bitkeeper revision 1.1760.1.4 (42c10578DlONZUYkjuzFvNR6idseEQ)

Simplify x86_32 boot code by removing bogus P6 check (really it was a
486 check, and we can assume everyone has CPUID I think).
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agobitkeeper revision 1.1760.1.3 (42c10175tVLAVy7ULar9xcSazDReXw)
leendert@watson.ibm.com[kaf24] [Tue, 28 Jun 2005 07:51:17 +0000 (07:51 +0000)]
bitkeeper revision 1.1760.1.3 (42c10175tVLAVy7ULar9xcSazDReXw)

[PATCH] [PATCH] VMXassist print e820 table

This patch integrates some of my debug environment back into the main
stream and it prints the e820 map as it is seen by a VMX domain.

        Leendert

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
20 years agobitkeeper revision 1.1760.1.2 (42c10164eZ8JiY0-m8yKOwE_3OopGw)
leendert@watson.ibm.com[kaf24] [Tue, 28 Jun 2005 07:51:00 +0000 (07:51 +0000)]
bitkeeper revision 1.1760.1.2 (42c10164eZ8JiY0-m8yKOwE_3OopGw)

[PATCH] [PATCH] Improved pending interrupt handling during VMX

This patch improves VMX exit handling while software interrupts are
pending: These should not stored as a VMX entry exception but should
instead just be restarted. This was the cause of the VMRESUME failure.

Leendert

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
20 years agobitkeeper revision 1.1762 (42c0fafdBom2bVfipwX4FXIl_SgKmg)
ach61@arcadians.cl.cam.ac.uk [Tue, 28 Jun 2005 07:23:41 +0000 (07:23 +0000)]
bitkeeper revision 1.1762 (42c0fafdBom2bVfipwX4FXIl_SgKmg)

Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into arcadians.cl.cam.ac.uk:/auto/anfs/nos1/ach61/bk

20 years agobitkeeper revision 1.1760.1.1 (42c0e8fa-Uxs1rA3BiXdTbynda9HmA)
vh249@arcadians.cl.cam.ac.uk [Tue, 28 Jun 2005 06:06:50 +0000 (06:06 +0000)]
bitkeeper revision 1.1760.1.1 (42c0e8fa-Uxs1rA3BiXdTbynda9HmA)

convert some use of "if (condition) BUG()" to "BUG_ON(condition)" in netback driver.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agobitkeeper revision 1.1761 (42c0704c_K5N6pcA--cz5L-FX_z0zw)
ach61@arcadians.cl.cam.ac.uk [Mon, 27 Jun 2005 21:31:56 +0000 (21:31 +0000)]
bitkeeper revision 1.1761 (42c0704c_K5N6pcA--cz5L-FX_z0zw)

Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into arcadians.cl.cam.ac.uk:/auto/anfs/nos1/ach61/bk

20 years agobitkeeper revision 1.1726.3.1 (42c07007i9Bkz3ggP_PXIksWaGD1Eg)
ach61@arcadians.cl.cam.ac.uk [Mon, 27 Jun 2005 21:30:47 +0000 (21:30 +0000)]
bitkeeper revision 1.1726.3.1 (42c07007i9Bkz3ggP_PXIksWaGD1Eg)

add framework for debugging processes

20 years agobitkeeper revision 1.1760 (42c05ebeLIfrneiw1jaZMwle-z9usw)
kaf24@firebug.cl.cam.ac.uk [Mon, 27 Jun 2005 20:17:02 +0000 (20:17 +0000)]
bitkeeper revision 1.1760 (42c05ebeLIfrneiw1jaZMwle-z9usw)

Check set_gdt() bounds before copy_from_user.
Signed-off-by: Chris Wright <chrisw@osdl.org>
20 years agobitkeeper revision 1.1759 (42c035d96-RzgfZ63O07ihY0xpew2g)
kaf24@firebug.cl.cam.ac.uk [Mon, 27 Jun 2005 17:22:33 +0000 (17:22 +0000)]
bitkeeper revision 1.1759 (42c035d96-RzgfZ63O07ihY0xpew2g)

This patch adapts the Java Policy Processor to the default ssid change of
0xfffffff... to 0.

Signed-off by Ray Valdez <rvaldez@us.ibm.com>

20 years agobitkeeper revision 1.1758 (42bff8419M7X5aOGlHhSQueJtvoYaA)
kaf24@firebug.cl.cam.ac.uk [Mon, 27 Jun 2005 12:59:45 +0000 (12:59 +0000)]
bitkeeper revision 1.1758 (42bff8419M7X5aOGlHhSQueJtvoYaA)

Fix out of source tree build bugs:
        - add (srctree)/include/asm-xen to include list
        - fix include2/asm link to reference asm-XENARCH
        - fix install target for public headeres
This fix enables the complication of several configurations from the same (read-only) source tree.

Signed-off-by: Shahar Frank <shaharf@qumranet.com>
20 years agobitkeeper revision 1.1757 (42be9ad5TTWQjsCBju5noyzBrTMyjA)
kaf24@firebug.cl.cam.ac.uk [Sun, 26 Jun 2005 12:08:53 +0000 (12:08 +0000)]
bitkeeper revision 1.1757 (42be9ad5TTWQjsCBju5noyzBrTMyjA)

Attached is the patch that changes the default ssid from 0xffffffff to 0
as discussed in previous emails.

Signed-off-by: Reiner Sailer <sailer@us.ibm.com>
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
20 years agobitkeeper revision 1.1756 (42bd28eb7ZP0AhHHKYuqhX2z3XItTQ)
kaf24@firebug.cl.cam.ac.uk [Sat, 25 Jun 2005 09:50:35 +0000 (09:50 +0000)]
bitkeeper revision 1.1756 (42bd28eb7ZP0AhHHKYuqhX2z3XItTQ)

Allow setting of ACM security policy at build time.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
20 years agobitkeeper revision 1.1755 (42bd1fcfzi0ZazGyTao_Ff-m4vjOqQ)
kaf24@firebug.cl.cam.ac.uk [Sat, 25 Jun 2005 09:11:43 +0000 (09:11 +0000)]
bitkeeper revision 1.1755 (42bd1fcfzi0ZazGyTao_Ff-m4vjOqQ)

.del-plan9a.out.h~cdc6aa24ef3ba635:
  Delete: tools/libxc/plan9a.out.h

20 years agobitkeeper revision 1.1754 (42bc7207le_rYvV9kj8p-Dztt3T_eA)
kaf24@firebug.cl.cam.ac.uk [Fri, 24 Jun 2005 20:50:15 +0000 (20:50 +0000)]
bitkeeper revision 1.1754 (42bc7207le_rYvV9kj8p-Dztt3T_eA)

Fix signedness issues, found by Jerone Young.

20 years agobitkeeper revision 1.1753 (42bbe67ePvjh9K0djYf6xRw2rGNreQ)
kaf24@firebug.cl.cam.ac.uk [Fri, 24 Jun 2005 10:54:54 +0000 (10:54 +0000)]
bitkeeper revision 1.1753 (42bbe67ePvjh9K0djYf6xRw2rGNreQ)

Properly remove old plan9 builder from xc header fiel and from xend.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agobitkeeper revision 1.1752 (42bbe5ba5hLPfcw1f77_F22fq6v6Yw)
kaf24@firebug.cl.cam.ac.uk [Fri, 24 Jun 2005 10:51:38 +0000 (10:51 +0000)]
bitkeeper revision 1.1752 (42bbe5ba5hLPfcw1f77_F22fq6v6Yw)

The set of patches below add support for loading plan9's a.out
format using the linux builder.  This is considerably simpler
than having a seperate builder, shares more code and should
be easier to maintain.  Hopefully the original plan9 builder
can go away in the future.

I've been able to test this manually with vm-tools but am
still having some problems (unrelated I think) with xm.

Signed-off-by: Tim Newsham <newsham@lava.net>
20 years agobitkeeper revision 1.1751 (42bbe480z9Fp_L5Tc500W8c8CL3g9A)
kaf24@firebug.cl.cam.ac.uk [Fri, 24 Jun 2005 10:46:24 +0000 (10:46 +0000)]
bitkeeper revision 1.1751 (42bbe480z9Fp_L5Tc500W8c8CL3g9A)

Rationalise x86 CRn guest state into a ctrlreg array in the per-vcpu
context structure. Most noticeably this means the pt_base field has
gone away -- replaced by ctrlreg[3] (CR3). VCPU_guest_stts is also
gone -- it was never arch-independent anyway.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agobitkeeper revision 1.1750 (42bbd4dcGK7sWi0DELA8n8Ap3cfa0w)
vh249@arcadians.cl.cam.ac.uk [Fri, 24 Jun 2005 09:39:40 +0000 (09:39 +0000)]
bitkeeper revision 1.1750 (42bbd4dcGK7sWi0DELA8n8Ap3cfa0w)

Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into arcadians.cl.cam.ac.uk:/local/scratch-2/vh249/unstable.bk

20 years agobitkeeper revision 1.1748.1.3 (42bbd472VxKIpvOzuAFDfVAi9gXwDA)
kaf24@firebug.cl.cam.ac.uk [Fri, 24 Jun 2005 09:37:54 +0000 (09:37 +0000)]
bitkeeper revision 1.1748.1.3 (42bbd472VxKIpvOzuAFDfVAi9gXwDA)

With this patch, now x86_64 domU is fully up!

We are running LTP there now.

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Xin B Li <xin.b.li@intel.com>
20 years agobitkeeper revision 1.1748.1.2 (42bbd22bGsDJd8zBp_EBCg97pPrPqA)
kaf24@firebug.cl.cam.ac.uk [Fri, 24 Jun 2005 09:28:11 +0000 (09:28 +0000)]
bitkeeper revision 1.1748.1.2 (42bbd22bGsDJd8zBp_EBCg97pPrPqA)

With the patch attached, we can bring up x86_64 domU to the point where
it tries to mount the root fs (see the log below). We are looking at
problems around blkif_connect at this point.

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Xin B Li <xin.b.li@intel.com>